package com.zx.model.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
/*用户类*/
public class User {
    private Long id;                //用户id
    private String name;            //账户
    private String password;        //密码(密文)
    private String avatar;          //头像
    private String phone;           //电话
    private Date createTime;        //创建时间
    private Date updateTime;        //修改时间
    private String salt;            //盐值
    private Boolean available;      //可用
    private String location;        //所在地
    private String birthday;        //生日
    private Integer sex;            //性别
    private String headPortrait;    //用户头像
}
